Note: This demo is for the Delphi Win32 and .NET personalities.
Borland Delphi 2006 introduces a new control to the component palette. Available on the Additional tab by default the component is called TFlowPanel.
This component lays out any controls parented on it according to the FlowStyle property.
There are 8 possible flow styles and this application lets you easily experiment with using all of them.
Win32: Open the FlowPanelDemo.bdsproj project
VCL.NET: Open the FlowPanelDemoNET.bdsproj
The demo shows how the TFlowPanel component lays out 60 edit controls when the edit controls are created with the TFlowLayout as a parent.
To change the flow style for the TFlowPanel select a flow style from the combobox. The controls are recreated and laid out according to the selected flow style.
|
|
|
|